package org.zhu.common.bean.dto;

/**
 * Created by zhu yingzhi on 2017/9/28.
 * @author yingzhi zhu
 * 订单数据传输类
 */
public class OrderDto {
    /**
     * 请求认证
     */
    private String token;
    /**
     * 购物车Id,分割
     */
    private String[] cart_id;
    /**
     * goods_id ,分割
     */
    private Long[] goods_id;
    /**
     * 商品参数 同一商品参数|分割 不同,
     */
    private String[] goods_attr;
    /**
     * 商品参数 同一商品参数|分割 不同,
     */
    private String[] goods_attr_id;
    /**
     * 商品数量,分割
     */
    private int[] goods_number;
    /**
     * 运费地址,分割
     */
    private Long[] freight_id;
    /**
     * 商品图片,分割
     */
    private String[] goods_img;
    /**
     * 商品名字,分割
     */
    private String[] goods_name;
    /**
     * 买家留言
     */
    private String postscript;
    /**
     * 用户位置
     */
    private String user_location;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区
     */
    private String district;
    /**
     * 街道
     */
    private String street;
    /**
     * 地址
     */
    private String address;
    /**
     * 邮编
     */
    private String zipcode;
    /**
     * 电话
     */
    private String phone;
    /**
     * 收货人姓名
     */
    private String name;
    /**
     * 运费价格
     */
    private double freight_price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getCart_id() {
        return cart_id;
    }

    public void setCart_id(String[] cart_id) {
        this.cart_id = cart_id;
    }

    public String[] getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String[] goods_name) {
        this.goods_name = goods_name;
    }

    public String[] getGoods_img() {
        return goods_img;
    }

    public void setGoods_img(String[] goods_img) {
        this.goods_img = goods_img;
    }

    public double getFreight_price() {
        return freight_price;
    }

    public void setFreight_price(double freight_price) {
        this.freight_price = freight_price;
    }

    public Long[] getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Long[] goods_id) {
        this.goods_id = goods_id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


    public String[] getGoods_attr() {
        return goods_attr;
    }

    public void setGoods_attr(String[] goods_attr) {
        this.goods_attr = goods_attr;
    }

    public String[] getGoods_attr_id() {
        return goods_attr_id;
    }

    public void setGoods_attr_id(String[] goods_attr_id) {
        this.goods_attr_id = goods_attr_id;
    }

    public int[] getGoods_number() {
        return goods_number;
    }

    public void setGoods_number(int[] goods_number) {
        this.goods_number = goods_number;
    }

    public Long[] getFreight_id() {
        return freight_id;
    }

    public void setFreight_id(Long[] freight_id) {
        this.freight_id = freight_id;
    }

    public String getPostscript() {
        return postscript;
    }

    public void setPostscript(String postscript) {
        this.postscript = postscript;
    }

    public String getUser_location() {
        return user_location;
    }

    public void setUser_location(String user_location) {
        this.user_location = user_location;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}

//    String token,Long goods_id,String goods_attr,String goods_attr_id,int goods_number,Long freight_id,
//        String postscript,String user_location,String province,String city,String district,String street
//        ,String address,String zipcode,String phone
